import db_demo

sql = """
    INSERT INTO sys_user (user_name, password, real_name)
                  VALUES ('%s', '%s', '%s');
""" % ('admin23333', '123456', '管理员王武')
db_demo.insert_demo(sql);


reslist = db_demo.search_demo("select * from sys_user;")
for item in reslist:
    for cell in item:
        print(cell, end="  ")
    print("\n" + "=" * 80)
